:deep(p) {
    margin: 0;
    padding: 0;
}
:deep(ul) {
    margin: 0;
    padding: 0;
}
:deep(li) {
    margin: 0;
    padding: 0;
    list-style: none;
}
:deep(button) {
    outline: 0;
    border: 0;
    background-color: #fff;
    padding: 0.6em 1.2em;
    cursor: pointer;
}
:deep(button:hover) {
    background-color: #e9e9e9;
}
:deep(.tx-button) {
    width: 100%;
    height: 100%;
    display: inline-block;
    padding: 0.2em 0.6em;
    box-sizing: border-box;
}
:deep(.tx-button-submit) {
    background: #39f;
    color: #FFF;
}
:deep(.tx-button:hover) {
    background-color: #e9e9e9;
}
:deep(.tx-button-submit:hover) {
    background: #38f;
}
:deep(.tx-button-submit:active) {
    background: #36f;
}
:deep(table) {
    max-width: 100%!important;
}
.tx-icon {
    user-select: none;
    display: inline-block;
    padding: 0.2em 0.6em;
    font-size: 1em;
    font-weight: 500;
    font-family: inherit;
    background-color: #FFFFFF;
    cursor: pointer;
    transition: background-color 0.25s;
    margin: 0 2px;
}
.tx-icon:hover,.is-active {
    background-color: #e9e9e9;
}

.tx {
    position: relative;
    text-align: left;
    width: 100%;
    max-width: 1200px;
    background: #FFFFFF;
}

.tx-container {
    max-width: 100%;
    min-width: 750px;
    overflow: auto;
    border: 1px solid #cccccc;
}
.tx-resize-both {
    resize: both;
}
.tx-resize-x {
    resize: horizontal;
}
.tx-resize-y {
    resize: vertical;
}

.tx-bubble-menu {
    padding: 4px;
    background-color: #FFFFFF;
    border-radius: 5px;
    box-shadow:  5px 5px 10px #bebebe,
        -5px -5px 10px #ffffff;
}
.upload {
    display: none;
}
.tx-header {
    position: sticky;
    top: 0;
    border: 1px solid #cccccc;
    background: #FFFFFF;
    z-index: 1;
}

.tx-select {
    position: relative;
    display: inline-block;
    padding: 4px;
    user-select: none;
    &:hover {
        background-color: #e9e9e9;
    }
    .tx-select-container {
        position: absolute;
        min-width: 75px;
        top: 100%;
        background: #fff;
        padding: 4px;
        color: #000;
        border-radius: 5px;
        box-shadow:  5px 5px 10px #bebebe,
            -5px -5px 10px #ffffff;
        transition: all .3s linear;
        &.tx-select-visible {
            opacity: 1;
        }
        .tx-select-option {
            display: block;
            max-width: 150px;
            padding: 4px 8px;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
            &:hover {
                background-color: #e9e9e9;
            }
        }
    }
}

:deep(.tiptap) {
    padding: 12px 24px;
    min-height: 600px;
    height: 100%;
}
:deep(.ProseMirror-focused) {
    outline: none;
}
:deep(.focused) {
    position: relative;
}
:deep(.focused::after) {
    content: '';
    position: absolute;
    left: -18px;
    width: 8px;
    height: 20px;
    top: 50%;
    transform: translateY(-50%);
    background: #cccccc;
}

:deep(.selectedCell) {
    background: #3390ff;
}
:deep(.resize-cursor) {
    cursor: col-resize;
}
:deep(.ProseMirror-selectednode) {
    outline: 1px solid #cccccc;
}